<?php

/*
 * This file is description of design platform config information.
 */

/**
 * 
 * @author Hongtai Zhang <zhanght@oradt.com>
 */
final class DesignConfig
{
	/*
	 * 支付宝相关配置
	 */
	//支付宝支付回调地址
    const ALIPAY_NOTIFY_URL = 'http://106.37.218.151:60001/design/alipay';
    
    const ALIPAY_ACCOUNT = '2088911943662777';
    const ALIPAY_EMAIL = 'orapay@oradt.com';
    const ALIPAY_KEY = 'y99ppnlmr2crbhlr5x3mvswu3exal8nh';
    
	/*
	 * 微信支付相关配置
	 */
    //微信APP端回调地址
    const WXAPP_NOTIFY_URL = '';
    #const WXAPP_NOTIFY_URL = 'http://106.37.218.151:60001/design/wxpay';
    #const WXAPP_APPID = 'wx41eca8872f4c19d4';
    #const WXAPP_MCHID = '1261918001';
    #const WXAPP_KEY = 'Oradt123456Wechat123456API123456';
    
    #2016-10-12
    #橙脉找人模块，会员充值、购买名片 微信支付相关地址
    # WXAPP_IMORA_NOTIFY_URL 该地址发包后（不同服务器）需要重新配置域名 
    # 即 替换106.37.218.151:60001 必须为外网地址
    const WXAPP_IMORA_NOTIFY_URL = 'http://106.37.218.151:60001/account/trading/wxpay';
    const WXAPP_APPID   = 'wxf6759e6fa32cd4e0';
    const WXAPP_MCHID   = '1392236202';
    const WXAPP_KEY     = 'Ora123456Wx123456API65432100000S';
    const WXAPP_SECRET  = '5fe7456eca12810827dbb1a22e4c88d0';
    
    //微信WEB端回调地址
    // const WXGZH_NOTIFY_URL = 'http://106.37.218.151:60001/design/wxpayweb';
    const WXGZH_NOTIFY_URL = 'http://106.37.218.151:60001/account/trading/wxwebpay';
    const WXGZH_APPID = 'wxd74253d6ee55fe12';
    const WXGZH_MCHID = '1260527001';
    const WXGZH_KEY = 'OradtWechatGongzhonghaoAPI123456';
    const WXGZH_SECRET = 'ecd90fa62cd26bb716ebad464fca2fda';

    
	/*
	 * 贝宝支付相关配置
	 */
    //贝宝配置
    //贝宝使用主动查询方式，暂不使用回调地址
    const PAYPAL_NOTIFY_URL ='http://106.37.218.151:443/design/paypalipn';
    const PAYPAL_USERNAME = 'orapay-facilitator_api1.oradt.com';
    const PAYPAL_PASSWORD = '69B3UCRPZ6FY7GCK';
    const PAYPAL_SIGNATURE = 'AIC.xhjr.F1MMlwveiPwoBEPNPUdAP-OTX3KsLaL6-pV5Z5Jjilp4bQ4';
    const PAYPAL_ENDPOINT = 'https://api-3t.sandbox.paypal.com/nvp';
    const PAYPAL_URL = 'https://www.sandbox.paypal.com/cgi-bin/webscr&cmd=_express-checkout&useraction=commit&token=';
    const PAYPAL_CLIENT_ID = 'AZpSO9M9skQbXgP9m2dW9X3L1BB2dxxcAVNoNqqgilYc1K11wb99CUsu6I5w8nsIpEouGmWUxTouSshq';
    const PAYPAL_CLIENT_SECRET = 'ELDPVazE7uWJ8izpel7z29XtIfz-pWudn1r2ygYy6g2bcPkTIjl1N1FnrUpqdatOA8X9OFheXA9JeIG6';

    
    /*
	 * IAP支付相关配置
	 */
    const IAPPAY_RECEIPT = 'https://buy.itunes.apple.com/verifyReceipt';
    // 生产环境
    // const IAPPAY_RECEIPT = 'https://buy.itunes.apple.com/verifyReceipt';
    
}

//yunwei file version: v20180302181622